package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.Dimensions;
import org.bson.types.ObjectId;

import java.util.List;

/**
 * @Desciption:test
 * @Create by:金木yan
 * @Date: 2021/12/11 23:14
 */
public interface DimensionsApi {
    //根据报告id查询维度列表
    List<Dimensions> findByReportId(String reportId);

    //保存维度数据
    void save(Dimensions dimensions);

    //根据报告id删除数据
    void deleteByReportId(ObjectId reportId);
}
